projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2d4fd6
)
inspector: Refine typography
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 21 Jan 2016 03:51:25 +0000
(22:51 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 21 Jan 2016 03:51:25 +0000
(22:51 -0500)
Use thin spaces in the formatting of monitor sizes.
gtk/inspector/general.c
patch
|
blob
|
history
diff --git
a/gtk/inspector/general.c
b/gtk/inspector/general.c
index 06113736d5c93c8896d3b43cd26a74bac6bdd703..5831c19e1a9aebcc499894666cb8a702f68f5f59 100644
(file)
--- a/
gtk/inspector/general.c
+++ b/
gtk/inspector/general.c
@@
-323,8
+323,8
@@
init_display (GtkInspectorGeneral *gen)
wmm = gdk_screen_get_monitor_width_mm (screen, i);
hmm = gdk_screen_get_monitor_height_mm (screen, i);
scale = gdk_screen_get_monitor_scale_factor (screen, i);
- text = g_strdup_printf ("%d
× %d%s, %d ×
%d mm²",
- w, h, scale == 2 ? " @
2" : "",
+ text = g_strdup_printf ("%d
× %d%s, %d ×
%d mm²",
+ w, h, scale == 2 ? " @
2" : "",
wmm, hmm);
label = gtk_label_new (text);
gtk_label_set_selectable (GTK_LABEL (label), TRUE);